package cn.tedu.property_management_system.mapper;

import cn.tedu.property_management_system.entity.Repair;
import cn.tedu.property_management_system.entity.VO.RepairVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RepairMapper {
    List<RepairVO> listAllRepairVO();

    int deleteByIds(@Param("ids") Integer... ids);

    int handleRepair(@Param("id")Integer id);

    List<RepairVO> screenRepair(@Param("repTypeId") Integer repTypeId,@Param("status") Integer status);

    int insert(Repair repair);

    List<RepairVO> listPersonalRepairVO(@Param("username") String concurrentUserName);
}
